let t = 'abbaaaabbbb1221'

let res = t.test(/(.)\1(.)\2()\3/g)

console.log(res)
